//
//  JAGPlatformAdapterConfig.h
//  JAGatherAdDemo
//
//  Created by Yc on 2023/5/10.
//

#ifndef JAGPlatformAdapterConfig_h
#define JAGPlatformAdapterConfig_h

/// 平台adapter的基本配置协议
@protocol JAGPlatformAdapterConfig <NSObject>

@required

/// 初始化适配器操作
/// @param config 参数：@{@"appId":@"xxx",@"custom":@{}}
+ (void)initAdapterConfiguration:(NSDictionary *_Nullable)config;

/// adn的版本号
+ (NSString *_Nonnull)networkSdkVersion;

@optional

/// 设置日志
/// @param logEnable @(YES) or @(NO)
+ (void)setLogEnable:(NSNumber *_Nonnull)logEnable;

/// 个性化广告开关
/// @param state YES:开启 NO:限制关闭  默认开启
+ (void)setPersonalizedAdState:(NSNumber *_Nonnull)state;

@end


#endif /* JAGPlatformAdapterConfig_h */


